<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .libra {
            width: 500px;
            height: 200px;
        }
        .l {
            float: left;
            width: 95px;
            height: 111px;
            /* background-color: pink; */
            background: url(images/abcd.jpg) no-repeat -7px -277px;
        }

        .i {
            float: left;
            width: 62px;
            height: 109px;
            background: url(images/abcd.jpg) no-repeat -326px -141px;
        }
        .b {
            float: left;
            width: 103px;
            height: 107px;
            background: url(images/abcd.jpg) no-repeat -121px -12px;
        }
        .r {
            float: left;
            width: 112px;
            height: 109px;
            background: url(images/abcd.jpg) no-repeat -138px -417px;
        }
        .a {
            float: left;
            width: 107px;
            height: 110px;
            background: url(images/abcd.jpg) no-repeat 0px -10px;
        }
        .box1 {
            width: 500px;
            height: 500px;
        }
        .tri {
            position: absolute;
            right: 15px;
            top: -20px;
            width: 0;
            height: 0;
            line-height: 0;
            font-size: 0;
            border: 10px solid transparent;
            border-bottom-color: pink;
        }
        .rect {
            position: relative;
            width: 100px;
            height: 300px;
            background-color: pink;
        }
        .box2 {
            position: relative;
            width: 500px;
            height: 500px;
            background-color: black;
        }
        .box2 .tri {
            position: absolute;
            width: 0;
            height: 0;
            line-height: 0;
            font-size: 0;
            border-right: 30px solid pink;
            border-top: 100px solid transparent;
            border-left: 0px solid transparent;
            border-bottom: 0px solid transparent;
        }
    </style>
</head>

<body>
    <div class="libra">
        <div class="l"></div>
        <div class="i"></div>
        <div class="b"></div>
        <div class="r"></div>
        <div class="a"></div>
    </div>
    <div class="box1">
        <div class="rect">
            <div class="tri"></div>
        </div>
    </div>
    <div class="box2">
        <div class="tri"></div>
    </div>
</body>

</html>